#include <stdio.h>
#include<string.h>
int main ()
{
	char word1[5] = {'G', 'O', 'O', 'D', '\0'};
	printf("字符串: %s\n,长度：%lld\n", word1, strlen(word1));
	char word2[5] = "GOOD";
	printf("字符串: %s\n,长度：%lld\n", word2, strlen(word2));
	char word3[] = "GOOD";
	printf("字符串: %s\n,长度：%lld\n", word3, strlen(word3));
	char word4[4] = {'G', 'O', 'O', 'D'};
	printf("字符串: %s\n,长度：%lld\n", word4, strlen(word4)); //pay attention
	char word5[10] = "GOOD";
	printf("字符串: %s\n,长度：%lld\n", word5, strlen(word5)); //pay attention
	return 0;
}

